package com.zsp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zsp.entity.Product;
import com.zsp.mapper.ProductDao;
import com.zsp.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl extends ServiceImpl<ProductDao, Product> implements ProductService {
    @Autowired
    private ProductDao productDao;


    @Override
    public boolean verify(Integer id) {
        return productDao.verify(id);
    }
}
